package org.example.register;

import java.util.HashMap;
import java.util.Map;

public class LocalRegister {

    private static Map<String,Class> map = new HashMap<>();

    public static void regist(String interfaceName,String version,Class implClass) {
        map.put(interfaceName+version,implClass);
    }

    public static Class get(String interfaceName,String version) {
        Class aClass = map.get(interfaceName+version);
        return aClass;
    }

}
